var zip = require('./ZipCodeValidator');
var letters = require('./LettersOnlyValidator');
var strings = ['Hello', '98052', '101'];
var validators = {};
validators["Zip Code"] = new zip.ZipCodeValidator();
validators['Letters Only'] = new letters.LetterOnlyValidator();
strings.forEach(function (s) {
    for (var name in validators) {
        console.log('' + s + ' ' + (validators[name].isAcceptable(s) ? 'matches' : "does not match" + name));
    }
});
